﻿using System;
using System.Collections.Generic;

namespace Ewk.MachineLearning.Genetic.Programming.Program.Functions
{
    /// <summary>
    /// Contains the definition of one function parameter.
    /// </summary>
    public class IODefinition
    {
        /// <summary>
        /// Initializes a new instance.
        /// </summary>
        /// <param name="types">The types that can be produced by the function.</param>
        public IODefinition(IEnumerable<Type> types)
        {
            Types = types;
        }

        /// <summary>
        /// Gets the types that can be produced by the function.
        /// </summary>
        public IEnumerable<Type> Types { get; set; }
    }
}